package com.example.entity;

import java.math.BigDecimal;

public class User extends Account {

  /** ID */
  private Integer id;
  /** 用户名 */
  private String username;
  /** 密码 */
  private String password;
  /** 姓名 */
  private String name;
  /** 电话 */
  private String phone;
  /** 头像 */
  private String avatar;
  /** 角色标识 */
  private String role;
  /** 性别 */
  private String sex;
  /** 账户余额 */
  private BigDecimal account;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAvatar() {
    return avatar;
  }

  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public BigDecimal getAccount() {
    return account;
  }

  public void setAccount(BigDecimal account) {
    this.account = account;
  }
}
